const router = require('../routerInstanceObject')
const usedGoodsRouter_handle = require('../router_handle/usedGoodsRrouter_handle')

// 添加二手物品
router.post('/addUsedGoodsInfo', usedGoodsRouter_handle.addUsedGoodsInfo)

// 获取所有二手物品
router.get('/getUsedGoodsInfos', usedGoodsRouter_handle.getUsedGoodsInfos)

// 获取分类二手物品
router.get('/getClassificationUsedGoodsInfos', usedGoodsRouter_handle.getClassificationUsedGoodsInfos)

// 获取卖家联系方式及其所在高校学院昵称
router.get('/getSellerInfo', usedGoodsRouter_handle.getSellerInfo)

module.exports = router